<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>编辑课程流水</title>
<link href="${base}/resources/admin/css/amazeui.css" rel="stylesheet" type="text/css" />
<link href="${base}/resources/admin/css/common.css" rel="stylesheet" type="text/css" />

</head>
<body>
	<div class="path">
		<a href="${base}/asl-admin/common/index.htm">${message("admin.path.index")}</a> &raquo; 编辑课程流水
	</div>
	<form id="inputForm" action="update.htm" method="post">
		<input type="hidden" name="id" value="${courseTrade.id}" />
		<table class="input">
            <tr>
                <th>
                    <span class="requiredField"></span>订单编号:
                </th>
                <td>
					${courseTrade.sn}
                </td>
            </tr>
			<tr>
				<th>
					<span class="requiredField"></span>课程标题:
				</th>
				<td>
					${courseTrade.title}
				</td>
			</tr>
            <tr>
                <th>
                    <span class="requiredField"></span>老师:
                </th>
                <td>
                    ${courseTrade.teacherName}
                </td>
            </tr>
            <tr>
                <th>
                    <span class="requiredField"></span>购买者:
                </th>
                <td>
                    [#if courseTrade.buyer??]${courseTrade.buyer.username}[/#if]
                </td>
            </tr>
            <tr>
                <th>
                    <span class="requiredField"></span>支付方式:
                </th>
                <td>
					[#if courseTrade.paymentMethodName??]${courseTrade.paymentMethodName}[/#if]
                </td>
            </tr>
            <tr>
                <th>
                    <span class="requiredField"></span>支付状态:
                </th>
                <td>
					<span class="[#if courseTrade.paymentStatus=="paid"]am-badge am-badge-success am-radius[#else]am-badge am-badge-warning am-radius[/#if]">${courseTrade.paymentStatus.toValue()}</span>
                </td>
            </tr>
            <tr>
                <th>
                    <span class="requiredField"></span>课程分类:
                </th>
                <td>
                    ${courseTrade.categoryName}
                </td>
            </tr>
            <tr>
                <th>
                    <span class="requiredField"></span>价格:
                </th>
                <td>
                    ${courseTrade.price}
                </td>
            </tr>
            <tr>
                <th>
                    <span class="requiredField"></span>手机号:
                </th>
                <td>
                    ${courseTrade.phone}
                </td>
            </tr>
            <tr>
                <th>
                    <span class="requiredField"></span>联系人:
                </th>
                <td>
                    ${courseTrade.linkman}
                </td>
            </tr>
            <tr>
                <th>
                    <span class="requiredField"></span>开播
                    日期:
                </th>
                <td>
				${courseTrade.pubdate?string("yyyy-MM-dd HH:mm")}
                </td>
            </tr>
            <tr>
                <th>
                    <span class="requiredField"></span>创建日期:
                </th>
                <td>
				${courseTrade.createDate?string("yyyy-MM-dd HH:mm:dd")}
                </td>
            </tr>
			<tr>
				<th>
					&nbsp;
				</th>
				<td>
					<input type="button" class="button" value="${message("admin.common.back")}" onclick="location.href='list.htm'" />
				</td>
			</tr>
		</table>
	</form>
</body>
<script type="text/javascript" src="${base}/resources/admin/js/jquery.js"></script>
<script type="text/javascript" src="${base}/resources/admin/js/jquery.tools.js"></script>
<script type="text/javascript" src="${base}/resources/admin/js/jquery.validate.js"></script>
<script type="text/javascript" src="${base}/resources/admin/editor/kindeditor.js"></script>
<script type="text/javascript" src="${base}/resources/admin/js/common.js"></script>
<script type="text/javascript" src="${base}/resources/admin/js/input.js"></script>
<script type="text/javascript">
    $().ready(function() {

        var $browserButton = $("#browserButton");

    [@flash_message /]

        $browserButton.browser();

    });
</script>
</html>
